import { Layout, Row, Typography } from 'antd';
import React from 'react';
import styles from './Guide.less';

interface Props {
  name: string;
  desc:string;
}

// 脚手架示例组件
const Guide: React.FC<Props> = (props) => {
  const { name,desc } = props;
  return (
    <Layout>
      <Row>
        <Typography.Title level={3} className={styles.container}>
          <strong className={styles.title}>{name}</strong> 
          <p className={styles.desc}>{desc}</p>
        </Typography.Title>
      </Row>
    </Layout>
  );
};

export default Guide;
